package com.cssy.yd.logic.service;

import java.util.List;

import org.springframework.transaction.annotation.Transactional;

import com.cssy.base.service.IBaseService;
import com.cssy.yd.logic.entity.LogicMaterialReturnItemDO;
import com.plat.exception.SyBaseException;

public interface ILogicMaterialReturnItemService extends IBaseService<LogicMaterialReturnItemDO>{

	/**
     * 根据退料单id查询所有的订单信息
     * @param mareturnid
     * @return
     * @throws DataAccessException
     */
    public List<LogicMaterialReturnItemDO> findByMaReturnid(String mareturnid) throws SyBaseException;
    
    /**
     * 根据退料单ID删除所有信息
     * @param mareturnid
     * @throws DataAccessException
     */
    @Transactional
    public void deleteByMaReturnid(String mareturnid) throws SyBaseException; 
}
